


def get_count(i,str) :
    count = 0
    for item in str.lower() :
        if item == i :
            count +=1
    return count



if __name__ == '__main__' :

     str =   '''The activity focused on "Yuan Longping and Hybrid Rice"'''
     i = input('请输入要查询的字母').lower()

     count= get_count(i,str)

     print(f'{i}在{str}中出现了{count}次')